package com.tedu._04mybatis.mapper;

import com.tedu._04mybatis.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    @Insert("insert into user(username,password,age,created) " +
            "values(#{username},#{password},#{age},#{created})")
    int insertUser(User user);
}
